package com.demo.sso.common.enums;

import lombok.Data;

/**
 * 请添加模块注释
 *
 * @author fengjy
 * @date 2018-10-29 0:22
 */
public enum IMsgEnum {

    SYSTEM_ANOMALY(1001, "用户不唯一，请联系管理员。");

    private int msgCode;

    private String msgText;

    public int getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(int msgCode) {
        this.msgCode = msgCode;
    }

    public String getMsgText() {
        return msgText;
    }

    public void setMsgText(String msgText) {
        this.msgText = msgText;
    }

    IMsgEnum(int msgCode, String msgText) {
        this.msgCode = msgCode;
        this.msgText = msgText;
    }

}
